package com.ctshk.rpc.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-05-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_dispatch_order_rule")
@ApiModel(value="DispatchOrderRule对象", description="派单规则对象")
public class DispatchOrderRule extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("系统编码")
    private String systemCode;

    @ApiModelProperty("业务类型ID")
    private Integer businessTypeId;

    @ApiModelProperty("业务类型名称")
    private String businessTypeName;

    @ApiModelProperty("公司类型")
    private String companyType;

    @ApiModelProperty("推送短信(1:是,0:否)")
    private Integer pushSms;

    @ApiModelProperty("推送邮件(1:是,0:否)")
    private Integer pushEmail;

    @ApiModelProperty("推送站内消息(1:是,0:否)")
    private Integer pushMsg;

    @ApiModelProperty("下个分配人ID")
    private Long nextUserId;

    @ApiModelProperty("已分配次数")
    private Long count;

    @ApiModelProperty("分配人数")
    private Integer personCount;

    @ApiModelProperty("创建人")
    private Long createId;

    @ApiModelProperty("修改人")
    private Long modifiedId;

    @ApiModelProperty("是否删除")
    private Integer isDeleted;
}
